[INFO] cloning repository https://github.com/aQaTL/screenshot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aQaTL/screenshot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaQaTL%2Fscreenshot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaQaTL%2Fscreenshot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 959e0d2c98435b0580ae92610b1e445515d6450e
[INFO] building aQaTL/screenshot against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaQaTL%2Fscreenshot" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/aQaTL/screenshot on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/aQaTL/screenshot
[INFO] finished tweaking git repo https://github.com/aQaTL/screenshot
[INFO] tweaked toml for git repo https://github.com/aQaTL/screenshot written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/aQaTL/screenshot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef956d8d63957c85b36198744d7c502cc8fcd007199f3cebe07098b5cace7d42
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ef956d8d63957c85b36198744d7c502cc8fcd007199f3cebe07098b5cace7d42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef956d8d63957c85b36198744d7c502cc8fcd007199f3cebe07098b5cace7d42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef956d8d63957c85b36198744d7c502cc8fcd007199f3cebe07098b5cace7d42", kill_on_drop: false }`
[INFO] [stdout] ef956d8d63957c85b36198744d7c502cc8fcd007199f3cebe07098b5cace7d42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e0ffd466b7cad13a6e7f1f29e8569804600de49a6046cefe18bd513f7c96ccb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9e0ffd466b7cad13a6e7f1f29e8569804600de49a6046cefe18bd513f7c96ccb", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling syn v0.15.30
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling winapi v0.3.7
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling safe-transmute v0.10.1
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling png v0.14.0
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]    Compiling tiff v0.2.2
[INFO] [stderr]    Compiling image v0.21.0
[INFO] [stderr]    Compiling screenshot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/screenshot.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::um::wingdi::*;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/screenshot.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winuser::{GetDC, ReleaseDC};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/screenshot.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::windef::HDC;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/screenshot.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDC` in this scope
[INFO] [stdout]   --> src/screenshot.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let h_screen = GetDC(null_mut());
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleDC` in this scope
[INFO] [stdout]   --> src/screenshot.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let h_mem = CreateCompatibleDC(h_screen);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateCompatibleBitmap` in this scope
[INFO] [stdout]   --> src/screenshot.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let h_bitmap = CreateCompatibleBitmap(h_screen, (b.x - a.x).abs(), (b.y - a.y).abs());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]   --> src/screenshot.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let old_obj = SelectObject(h_mem, h_bitmap as *mut c_void);
[INFO] [stdout]    |                   ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `BitBlt` in this scope
[INFO] [stdout]   --> src/screenshot.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let result = BitBlt(h_mem, 0, 0, (b.x - a.x).abs(), (b.y - a.y).abs(), h_screen, a.x, a.y, SRCCOPY);
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `SRCCOPY` in this scope
[INFO] [stdout]   --> src/screenshot.rs:40:93
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let result = BitBlt(h_mem, 0, 0, (b.x - a.x).abs(), (b.y - a.y).abs(), h_screen, a.x, a.y, SRCCOPY);
[INFO] [stdout]    |                                                                                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAP` in this scope
[INFO] [stdout]   --> src/screenshot.rs:45:16
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let mut bmp = BITMAP { bmType: 0, bmWidth: 0, bmHeight: 0, bmWidthBytes: 0, bmPlanes: 0, bmBitsPixel: 0, bmBits: null_mut() };
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetObjectW` in this scope
[INFO] [stdout]   --> src/screenshot.rs:46:15
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let result = GetObjectW(h_bitmap as *mut c_void, size_of::<BITMAP>() as i32, &mut bmp as *mut BITMAP as *mut c_void);
[INFO] [stdout]    |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]   --> src/screenshot.rs:46:61
[INFO] [stdout]    |
[INFO] [stdout] 22 | unsafe fn screenshot_(rect: Option<Rect>) -> Result<Vec<u8>, WinApiError> {
[INFO] [stdout]    |                      - help: you might be missing a type parameter: `<BITMAP>`
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let result = GetObjectW(h_bitmap as *mut c_void, size_of::<BITMAP>() as i32, &mut bmp as *mut BITMAP as *mut c_void);
[INFO] [stdout]    |                                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]   --> src/screenshot.rs:46:96
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let result = GetObjectW(h_bitmap as *mut c_void, size_of::<BITMAP>() as i32, &mut bmp as *mut BITMAP as *mut c_void);
[INFO] [stdout]    |                                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDIBits` in this scope
[INFO] [stdout]   --> src/screenshot.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let result = GetDIBits(h_screen, h_bitmap,
[INFO] [stdout]    |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope
[INFO] [stdout]   --> src/screenshot.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 | ...                   &mut bmi as *mut BITMAPINFO,
[INFO] [stdout]    |                                        ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DIB_RGB_COLORS` in this scope
[INFO] [stdout]   --> src/screenshot.rs:62:10
[INFO] [stdout]    |
[INFO] [stdout] 62 | ...                   DIB_RGB_COLORS);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SelectObject` in this scope
[INFO] [stdout]   --> src/screenshot.rs:67:2
[INFO] [stdout]    |
[INFO] [stdout] 67 |     SelectObject(h_mem, old_obj);
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteDC` in this scope
[INFO] [stdout]   --> src/screenshot.rs:68:2
[INFO] [stdout]    |
[INFO] [stdout] 68 |     DeleteDC(h_mem);
[INFO] [stdout]    |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReleaseDC` in this scope
[INFO] [stdout]   --> src/screenshot.rs:69:2
[INFO] [stdout]    |
[INFO] [stdout] 69 |     ReleaseDC(null_mut(), h_screen);
[INFO] [stdout]    |     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeleteObject` in this scope
[INFO] [stdout]   --> src/screenshot.rs:70:2
[INFO] [stdout]    |
[INFO] [stdout] 70 |     DeleteObject(h_bitmap as *mut c_void);
[INFO] [stdout]    |     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAP` in this scope
[INFO] [stdout]   --> src/screenshot.rs:75:31
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn create_bitmap_headers(bmp: BITMAP) -> (BITMAPFILEHEADER, BITMAPINFO) {
[INFO] [stdout]    |                               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAPFILEHEADER` in this scope
[INFO] [stdout]   --> src/screenshot.rs:75:43
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn create_bitmap_headers(bmp: BITMAP) -> (BITMAPFILEHEADER, BITMAPINFO) {
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAPINFO` in this scope
[INFO] [stdout]   --> src/screenshot.rs:75:61
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn create_bitmap_headers(bmp: BITMAP) -> (BITMAPFILEHEADER, BITMAPINFO) {
[INFO] [stdout]    |                                                             ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFO` in this scope
[INFO] [stdout]   --> src/screenshot.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     let bmi = BITMAPINFO {
[INFO] [stdout]    |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]   --> src/screenshot.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |         bmiHeader: BITMAPINFOHEADER {
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAPINFOHEADER` in this scope
[INFO] [stdout]   --> src/screenshot.rs:87:22
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn create_bitmap_headers(bmp: BITMAP) -> (BITMAPFILEHEADER, BITMAPINFO) {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `<BITMAPINFOHEADER>`
[INFO] [stdout] ...
[INFO] [stdout] 87 |             biSize: size_of::<BITMAPINFOHEADER>() as u32,
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `BI_RGB` in this scope
[INFO] [stdout]   --> src/screenshot.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |             biCompression: BI_RGB,
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RGBQUAD` in this scope
[INFO] [stdout]   --> src/screenshot.rs:99:15
[INFO] [stdout]    |
[INFO] [stdout] 99 |         bmiColors: [RGBQUAD {
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BITMAPFILEHEADER` in this scope
[INFO] [stdout]    --> src/screenshot.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let bmfh = BITMAPFILEHEADER {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAPFILEHEADER` in this scope
[INFO] [stdout]    --> src/screenshot.rs:108:21
[INFO] [stdout]     |
[INFO] [stdout] 75  | fn create_bitmap_headers(bmp: BITMAP) -> (BITMAPFILEHEADER, BITMAPINFO) {
[INFO] [stdout]     |                         - help: you might be missing a type parameter: `<BITMAPFILEHEADER>`
[INFO] [stdout] ...
[INFO] [stdout] 108 |         bfSize: size_of::<BITMAPFILEHEADER>() as u32 + bmi.bmiHeader.biSize +
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RGBQUAD` in this scope
[INFO] [stdout]    --> src/screenshot.rs:109:40
[INFO] [stdout]     |
[INFO] [stdout] 75  | fn create_bitmap_headers(bmp: BITMAP) -> (BITMAPFILEHEADER, BITMAPINFO) {
[INFO] [stdout]     |                         - help: you might be missing a type parameter: `<RGBQUAD>`
[INFO] [stdout] ...
[INFO] [stdout] 109 |             bmi.bmiHeader.biClrUsed * size_of::<RGBQUAD>() as u32 + bmi.bmiHeader.biSizeImage,
[INFO] [stdout]     |                                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BITMAPFILEHEADER` in this scope
[INFO] [stdout]    --> src/screenshot.rs:112:24
[INFO] [stdout]     |
[INFO] [stdout] 75  | fn create_bitmap_headers(bmp: BITMAP) -> (BITMAPFILEHEADER, BITMAPINFO) {
[INFO] [stdout]     |                         - help: you might be missing a type parameter: `<BITMAPFILEHEADER>`
[INFO] [stdout] ...
[INFO] [stdout] 112 |         bfOffBits: size_of::<BITMAPFILEHEADER>() as u32 + bmi.bmiHeader.biSize +
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RGBQUAD` in this scope
[INFO] [stdout]    --> src/screenshot.rs:113:40
[INFO] [stdout]     |
[INFO] [stdout] 75  | fn create_bitmap_headers(bmp: BITMAP) -> (BITMAPFILEHEADER, BITMAPINFO) {
[INFO] [stdout]     |                         - help: you might be missing a type parameter: `<RGBQUAD>`
[INFO] [stdout] ...
[INFO] [stdout] 113 |             bmi.bmiHeader.biClrUsed * size_of::<RGBQUAD>() as u32,
[INFO] [stdout]     |                                                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/screenshot.rs:118:33
[INFO] [stdout]     |
[INFO] [stdout] 118 | unsafe fn screen_res(screen_dc: HDC) -> Rect {
[INFO] [stdout]     |                                 ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDeviceCaps` in this scope
[INFO] [stdout]    --> src/screenshot.rs:121:17
[INFO] [stdout]     |
[INFO] [stdout] 121 |         y: Point { x: GetDeviceCaps(screen_dc, HORZRES), y: GetDeviceCaps(screen_dc, VERTRES) },
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HORZRES` in this scope
[INFO] [stdout]    --> src/screenshot.rs:121:42
[INFO] [stdout]     |
[INFO] [stdout] 121 |         y: Point { x: GetDeviceCaps(screen_dc, HORZRES), y: GetDeviceCaps(screen_dc, VERTRES) },
[INFO] [stdout]     |                                                ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetDeviceCaps` in this scope
[INFO] [stdout]    --> src/screenshot.rs:121:55
[INFO] [stdout]     |
[INFO] [stdout] 121 |         y: Point { x: GetDeviceCaps(screen_dc, HORZRES), y: GetDeviceCaps(screen_dc, VERTRES) },
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VERTRES` in this scope
[INFO] [stdout]    --> src/screenshot.rs:121:80
[INFO] [stdout]     |
[INFO] [stdout] 121 |         y: Point { x: GetDeviceCaps(screen_dc, HORZRES), y: GetDeviceCaps(screen_dc, VERTRES) },
[INFO] [stdout]     |                                                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 39 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `screenshot`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "9e0ffd466b7cad13a6e7f1f29e8569804600de49a6046cefe18bd513f7c96ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e0ffd466b7cad13a6e7f1f29e8569804600de49a6046cefe18bd513f7c96ccb", kill_on_drop: false }`
[INFO] [stdout] 9e0ffd466b7cad13a6e7f1f29e8569804600de49a6046cefe18bd513f7c96ccb
